import { defineAmisPlugin, getBaseFormItem, getInputTpl } from '../../base/util';
import ProjectEngineeringHelp from './fc';
import type { IProps } from './interface';

export default defineAmisPlugin<IProps>(() => {
  return {
    component: ProjectEngineeringHelp,
    options: getBaseFormItem({
      type: 'project-engineering-help', order: -6995, name: '工程项目帮助', icon: 'ProjectOutlined',xtype:'ProjectEngineeringHelp',
      valueLabel: true, extendProps: { name: 'params', label: '参数' },
      tpls: [
        getInputTpl('multiple', { type: "switch", label: "多选" }),
        getInputTpl('placeholder', { label: '提示文本' }),
      ]
    })
  };
});
